//
//  AnswerScrollView.h
//  DriveStudy
//
//  Created by chen on 2017/4/14.
//  Copyright © 2017年 chen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AnswerTableViewCell.h"
#import "AnswerViewController.h"
#import "Tool.h"
#import "UserDefaultManager.h"
@interface AnswerScrollView : UIView
-(instancetype)initWithFrame:(CGRect)frame withDataArray:(NSArray *)array andCurrentPage:(int)page;
@property(nonatomic,assign,readonly)int currentPage;
//所有答过题的数组
@property(nonatomic,strong)NSMutableArray * hasAnswerArray;
//所有题目的数组
@property(nonatomic,strong)NSArray * dataArray;
//scrollView的视图
@property(nonatomic,strong)UIScrollView *scrollview;;
-(void)reloadData;
@end
